package com.zz.test;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class test {
    public static void main(String[] args) {
        Log log = LogFactory.getLog(test.class);
        for(int i=0;i<=500000;i++){
            System.out.println("循环"+"--"+i);
            try{
                System.out.println(1%0);
            }catch(Exception e){
                log.info("异常信息"+i+"："+e);
                log.error("异常信息"+i+"："+e);
            }
        }
    }
}
